<template>
  <div class="calendar">
    <el-date-picker
      v-model="value1"
      type="datetime"
      placeholder="选择日期时间">
    </el-date-picker>
  </div>
</template>
<script>
export default {
  name: 'calendar',
  data () {
    return {
      startTime: ''
    }
  },
  methods: {
    getCalandarData: function (val) {
      console.log(val)
    }
  }
}
</script>
<style lang="less" scoped>
.calendar {}
</style>
